<div class='part'>
  <title>Creer un soin
  </title>
  <form action="cree_new_traitement.php" method="post">
    <label>Titre :  
    </label>
    <input type="text" size="30" name="titre" value="" />
    <br/>
    <p>
      <label>info:  
      </label>
      <br/>
<textarea name="info" cols="50" rows="10"></textarea>
      <br/>
      <input type='hidden' name='page' value='news'/>
      <input type="submit" value="Envoyer" />
  </form>
  </p>
</div>
<div class=part>
<?php
include_once("connect.php");
$result=mysql_query("select * from ap3_sp_news order by 'datepost'desc");
while($new=mysql_fetch_assoc($result)){
      echo "<div>";
      echo  $new['titre'];
      echo      "<p>".$new['description']."</p> ";
       echo     "<h6>".$new['datepost']."</h6>";
      echo      "<form name='del' action='supprimer.php' method='post'>";      
      echo      "<input type='hidden' name='delID' value='".$new['ID']."'/>";
      echo      "<input type='hidden' name='table' value='ap3_sp_news'/>";
      echo      "<input type='hidden' name='page' value='news'/>";
       echo     "<input type='submit' value='supprimer' /> ";
      echo      "</form>"; 
      echo      "</div>";
      }
  ?>
</div>